Current File : /var/www/e360ban/wp-content/plugins/types/public/js/compatibility/bundle.yoast.js
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=15)}({15:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}n.r(e),n.d(e,"ToolsetTypesYoast",(function(){return pe}));var o=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.Field=e,this.CollectionFactory=n}var e,n,o;return e=t,(n=[{key:"getValues",value:function(){throw new TypeError("Abstract method.")}}])&&r(e.prototype,n),o&&r(e,o),t}();function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=s(t);if(e){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}(i,t);var e,n,r,o=f(i);function i(){return u(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getValues",value:function(){var t=document.getElementsByName(this.Field.getInputName());if(!t.length)return[];if(!(t=t[0]).selectedIndex)return[];var e=t.options[t.selectedIndex],n=this.CollectionFactory.createCollection(this.Field);return n.setTitle(e.value),n.setAttrHref(e.getAttribute("data-url")),[n]}}])&&c(e.prototype,n),r&&c(e,r),i}(o);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==p(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}(i,t);var e,n,r,o=d(i);function i(){return h(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getValues",value:function(){var t=document.querySelectorAll("input[name^='"+this.Field.getInputName()+"']"),e=[];if(!t.length)return e;for(var n=0;n<t.length;n++)if(t[n].value){var r=t[n].parentElement.nextElementSibling;if(r&&r.classList.contains("js-wpt-file-preview")){var o=r.firstElementChild;if(o&&"img"===o.tagName.toLowerCase()){var i=this.CollectionFactory.createCollection(this.Field);i.setAttrSrc(t[n].value),i.setAttrAlt(o.getAttribute("alt")),i.setAttrTitle(o.getAttribute("title")),e.push(i)}}}return e}}])&&b(e.prototype,n),r&&b(e,r),i}(o);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t,e){return(j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function T(t){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var R=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&j(t,e)}(i,t);var e,n,r,o=P(i);function i(){return S(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getValues",value:function(){var t=document.getElementsByName(this.Field.getInputName());if(!t.length)return[];var e=this.CollectionFactory.createCollection(this.Field);if("undefined"!=typeof tinyMCE){var n=tinyMCE.get(t[0].id);if(n)return e.setValue(n.getContent()),[e]}return e.setValue(t[0].value),[e]}}])&&_(e.prototype,n),r&&_(e,r),i}(o);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e){return(A=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function x(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=N(t);if(e){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function N(t){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var V=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&A(t,e)}(i,t);var e,n,r,o=x(i);function i(){return C(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getValues",value:function(){var t=document.querySelectorAll("textarea[name^='"+this.Field.getInputName()+"']"),e=[];if(!t.length)return e;for(var n=0;n<t.length;n++){var r=this.CollectionFactory.createCollection(this.Field);r.setValue(t[n].value),e.push(r)}return e}}])&&F(e.prototype,n),r&&F(e,r),i}(o);function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function M(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Y(t,e){return(Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=q(t);if(e){var o=q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return B(this,n)}}function B(t,e){return!e||"object"!==H(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function q(t){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var L=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Y(t,e)}(i,t);var e,n,r,o=Q(i);function i(){return I(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getValues",value:function(){var t=document.querySelectorAll("input[name^='"+this.Field.getInputName()+"']"),e=[];if(!t.length)return e;for(var n=0;n<t.length;n++){var r=this.CollectionFactory.createCollection(this.Field);r.setValue(t[n].value),e.push(r)}return e}}])&&M(e.prototype,n),r&&M(e,r),i}(o);function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var z=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.CollectionFactory=e}var e,n,r;return e=t,(n=[{key:"createMiner",value:function(t){switch(t.getType()){case"wysiwyg":return new R(t,this.CollectionFactory);case"multi-line":return new V(t,this.CollectionFactory);case"image":return new w(t,this.CollectionFactory);case"post":return new y(t,this.CollectionFactory);default:return new L(t,this.CollectionFactory)}}}])&&J(e.prototype,n),r&&J(e,r),t}();function G(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var K=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"getHtmlTagCharacters",value:function(){throw new TypeError("Abstract method.")}},{key:"getDecoratedValue",value:function(t){return"<"+this.getHtmlTagCharacters()+">"+t.getValue()+"</"+this.getHtmlTagCharacters()+">"}}])&&G(e.prototype,n),r&&G(e,r),t}();function U(t){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Z(t,e){return(Z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function $(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==U(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function et(t){return(et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var nt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Z(t,e)}(i,t);var e,n,r,o=$(i);function i(){return W(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getDecoratedValue",value:function(t){return t.getValue()}}])&&X(e.prototype,n),r&&X(e,r),i}(K);function rt(t){return(rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ot(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ut(t,e,n){return e&&it(t.prototype,e),n&&it(t,n),t}function ct(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&at(t,e)}function at(t,e){return(at=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ft(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=st(t);if(e){var o=st(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return lt(this,n)}}function lt(t,e){return!e||"object"!==rt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function st(t){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var yt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"p"}}]),n}(K),pt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h1"}}]),n}(K),ht=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h2"}}]),n}(K),bt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h3"}}]),n}(K),vt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h4"}}]),n}(K),dt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h5"}}]),n}(K),gt=function(t){ct(n,t);var e=ft(n);function n(){return ot(this,n),e.apply(this,arguments)}return ut(n,[{key:"getHtmlTagCharacters",value:function(){return"h6"}}]),n}(K);function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ot(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function St(t,e,n){return e&&Ot(t.prototype,e),n&&Ot(t,n),t}function _t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&jt(t,e)}function jt(t,e){return(jt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Tt(t);if(e){var o=Tt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return kt(this,n)}}function kt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Tt(t){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Rt=function(t){_t(n,t);var e=Pt(n);function n(){return wt(this,n),e.apply(this,arguments)}return St(n,[{key:"isNoFollow",value:function(){return!1}},{key:"getDecoratedValue",value:function(t){var e=this.isNoFollow()?' rel="nofollow"':"";return t.hasOwnProperty("getAttrHref")&&t.hasOwnProperty("getTitle")?"<a"+e+' href="'+t.getAttrHref()+'">'+t.getTitle()+"</a>":"<a"+e+' href="'+t.getValue()+'">'+t.getValue()+"</a>"}}]),n}(K),Et=function(t){_t(n,t);var e=Pt(n);function n(){return wt(this,n),e.apply(this,arguments)}return St(n,[{key:"isNoFollow",value:function(){return!0}}]),n}(Rt);function Ct(t){return(Ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function At(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Dt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Vt(t);if(e){var o=Vt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Nt(this,n)}}function Nt(t,e){return!e||"object"!==Ct(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ht=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(i,t);var e,n,r,o=Dt(i);function i(){return Ft(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"getDecoratedValue",value:function(t){return'<img src="'+t.getAttrSrc()+'" alt="'+t.getAttrAlt()+'" title="'+t.getAttrTitle()+'" />'}}])&&At(e.prototype,n),r&&At(e,r),i}(K);function It(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Mt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.decorators={}}var e,n,r;return e=t,(n=[{key:"getDecorator",value:function(t){switch(t.getDisplayAs()){case"p":return this.decorators.paragraph=this.decorators.paragraph||new yt,this.decorators.paragraph;case"h1":return this.decorators.headline1=this.decorators.headline1||new pt,this.decorators.headline1;case"h2":return this.decorators.headline2=this.decorators.headline2||new ht,this.decorators.headline2;case"h3":return this.decorators.headline3=this.decorators.headline3||new bt,this.decorators.headline3;case"h4":return this.decorators.headline4=this.decorators.headline4||new vt,this.decorators.headline4;case"h5":return this.decorators.headline5=this.decorators.headline5||new dt,this.decorators.headline5;case"h6":return this.decorators.headline6=this.decorators.headline6||new gt,this.decorators.headline6;case"img":return this.decorators.image=this.decorators.image||new Ht,this.decorators.image;case"link":return this.decorators.link=this.decorators.link||new Rt,this.decorators.link;case"link-nofollow":return this.decorators.linknofollow=this.decorators.linknofollow||new Et,this.decorators.linknofollow;default:return this.decorators.raw=this.decorators.raw||new nt,this.decorators.raw}}}])&&It(e.prototype,n),r&&It(e,r),t}();function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Qt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.value=""}var e,n,r;return e=t,(n=[{key:"setValue",value:function(t){this.value=this.normaliseInputToString(t)}},{key:"getValue",value:function(){return this.value}},{key:"normaliseInputToString",value:function(t){return null===t?"":String(t)}}])&&Yt(e.prototype,n),r&&Yt(e,r),t}();function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Lt(t,e){return(Lt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Gt(t);if(e){var o=Gt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return zt(this,n)}}function zt(t,e){return!e||"object"!==Bt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Gt(t){return(Gt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Kt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Lt(t,e)}(i,t);var e,n,r,o=Jt(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).attrAlt="",t.attrTitle="",t.attrSrc="",t}return e=i,(n=[{key:"setAttrAlt",value:function(t){this.attrAlt=this.normaliseInputToString(t)}},{key:"getAttrAlt",value:function(){return this.attrAlt}},{key:"setAttrTitle",value:function(t){this.attrTitle=this.normaliseInputToString(t)}},{key:"getAttrTitle",value:function(){return this.attrTitle}},{key:"setAttrSrc",value:function(t){this.attrSrc=this.normaliseInputToString(t)}},{key:"getAttrSrc",value:function(){return this.attrSrc}}])&&qt(e.prototype,n),r&&qt(e,r),i}(Qt);function Ut(t){return(Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Wt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=te(t);if(e){var o=te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $t(this,n)}}function $t(t,e){return!e||"object"!==Ut(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function te(t){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ee=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}(i,t);var e,n,r,o=Zt(i);function i(){var t;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(t=o.call(this)).title="",t.attrHref="",t}return e=i,(n=[{key:"setTitle",value:function(t){this.title=this.normaliseInputToString(t)}},{key:"getTitle",value:function(){return this.title}},{key:"setAttrHref",value:function(t){this.attrHref=this.normaliseInputToString(t)}},{key:"getAttrHref",value:function(){return this.attrHref}}])&&Wt(e.prototype,n),r&&Wt(e,r),i}(Qt);function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var re=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"createCollection",value:function(t){switch(t.getType()){case"image":return new Kt;case"post":return new ee;default:return new Qt}}}])&&ne(e.prototype,n),r&&ne(e,r),t}();function oe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ie=function(){function t(e,n,r,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.slug=e,this.inputName=n,this.type=r,this.displayAs=o}var e,n,r;return e=t,(n=[{key:"getSlug",value:function(){return this.slug}},{key:"getInputName",value:function(){return this.inputName}},{key:"getDisplayAs",value:function(){return this.displayAs}},{key:"getType",value:function(){return this.type}}])&&oe(e.prototype,n),r&&oe(e,r),t}();function ue(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ce=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"getFields",value:function(){var t=JSON.parse(jQuery("#types_yoast_data").html()),e=this,n=[];return jQuery.each(t.fields,(function(t,r){n.push(e.getFieldByArray(r))})),n}},{key:"getFieldByArray",value:function(t){return new ie(t.slug,t.inputName,t.type,t.displayAs)}}])&&ue(e.prototype,n),r&&ue(e,r),t}();function ae(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var fe=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.pluginName="ToolsetTypesYoast",this.applyFieldEventsTimeout=null,this.Yoast=e,this.MinerFactory=n,this.DecoratorFactory=r,this.fields=[]}var e,n,r;return e=t,(n=[{key:"register",value:function(){this.Yoast.registerPlugin(this.pluginName,{status:"ready"})}},{key:"registerModifications",value:function(){var t=this;this.Yoast.registerModification("content",(function(e){return t.extendContent(e)}),this.pluginName,10)}},{key:"setFields",value:function(t){this.fields=[];for(var e=0;e<t.length;e++)this.addField(t[e])}},{key:"addField",value:function(t){t instanceof ie&&(this.fields.push(t),this.applyFieldEvents())}},{key:"applyFieldEvents",value:function(){var t=this;clearTimeout(this.applyFieldEventsTimeout),this.applyFieldEventsTimeout=setTimeout((function(){t._applyFieldEvents()}),500)}},{key:"_applyFieldEvents",value:function(){var t=this;if(jQuery("body").off("."+this.pluginName),this.fields.length){var e=this.fields.map((function(t){return"[name^='"+t.getInputName()+"']"})).join(", ");jQuery("body").on("change."+t.pluginName,e,(function(){t.Yoast.pluginReloaded(t.pluginName)}))}}},{key:"extendContent",value:function(t){var e=this;return this.fields.forEach((function(n){t=e._addFieldToContent(n,t)})),t}},{key:"_addFieldToContent",value:function(t,e){var n=this.MinerFactory.createMiner(t).getValues(),r=this.DecoratorFactory.getDecorator(t),o="";return n.forEach((function(t){o+=" "+r.getDecoratedValue(t)})),e+o}}])&&ae(e.prototype,n),r&&ae(e,r),t}();function le(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var se=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.FieldService=e,this.Plugin=n}var e,n,r;return e=t,(n=[{key:"run",value:function(){var t=this;this.Plugin.setFields(this.FieldService.getFields()),this.Plugin.register(),this.Plugin.registerModifications(),jQuery(document).on("toolset_types_yoast_add_field",(function(e,n){t.Plugin.addField(t.FieldService.getFieldByArray(n))}))}}])&&le(e.prototype,n),r&&le(e,r),t}();function ye(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var pe=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,(n=[{key:"bootstrap",value:function(){if("undefined"!=typeof YoastSEO){var t=new fe(YoastSEO.app,new z(new re),new Mt);return new se(new ce,t).run(),!0}return!1}}])&&ye(e.prototype,n),r&&ye(e,r),t}();jQuery((function(){(new pe).bootstrap()}))}});
Page Not Found
Parece que el enlace que apuntaba aquí no sirve. ¿Quieres probar con una búsqueda?
¡Hola!